package com.lysj.admin.common.pay.feign;

import com.lysj.admin.common.pay.domain.PayParam;
import com.lysj.admin.common.pay.domain.RefundParam;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 14:50 2019/3/21
 * @ Description:
 **/

public interface WxPayServiceFeign {

    @PostMapping("/pay/wx_pay/unified_order")
    Map<String, Object> createOrder(@RequestBody PayParam payParam);

    /**
     * 微信退款
     */
    @PostMapping("/pay/wx_pay/refund")
    boolean refund(@RequestBody RefundParam refundParam);

    /**
     * @author Created by wtl on 2019/4/11 17:37
     * @Description 微信native支付
     */



}
